package org.lanqiao.collect;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
@TableName("ws_collect")
public class Collect implements Serializable {
    @TableField(value = "card_id")
    private Integer cardid;
    @TableField(value = "user_id")
    private  Integer userid;
    @TableField(value = "create_time")
    private Date createtime;

    public Collect(Integer cardid, Integer userid, Date createtime) {
        this.cardid = cardid;
        this.userid = userid;
        this.createtime = createtime;
    }
}
